package com.jnzc.ocr.serv.shop.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(description = "店铺信息")
public class ShopMain {
    @ApiModelProperty(value = "店铺ID")
    @TableId
    private Long id;
    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    @ApiModelProperty(value = "编号")
    private String no;
    @ApiModelProperty(value = "店铺名称")
    private String name;
    @ApiModelProperty(value = "店铺分类ID")
    private Long categoryId;
    @ApiModelProperty(value = "店铺分类名称")
    private String categoryName;
    @ApiModelProperty(value = "省")
    private String provinceName;
    @ApiModelProperty(value = "省编号")
    private String provinceCode;
    @ApiModelProperty(value = "市")
    private String cityName;
    @ApiModelProperty(value = "市编号")
    private String cityCode;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "库存预警数量")
    private Integer warnStockNum;
    @ApiModelProperty(value = "盘点预警天数")
    private Integer warnCheckDay;
    @ApiModelProperty(value = "微信支付图片")
    private String weixinpayImage;
    @ApiModelProperty(value = "支付宝图片")
    private String alipayImage;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getWarnStockNum() {
        return warnStockNum;
    }

    public void setWarnStockNum(Integer warnStockNum) {
        this.warnStockNum = warnStockNum;
    }

    public Integer getWarnCheckDay() {
        return warnCheckDay;
    }

    public void setWarnCheckDay(Integer warnCheckDay) {
        this.warnCheckDay = warnCheckDay;
    }

    public String getWeixinpayImage() {
        return weixinpayImage;
    }

    public void setWeixinpayImage(String weixinpayImage) {
        this.weixinpayImage = weixinpayImage;
    }

    public String getAlipayImage() {
        return alipayImage;
    }

    public void setAlipayImage(String alipayImage) {
        this.alipayImage = alipayImage;
    }
}